home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 123
/
(Vol 123) Jan 13 2011.iso
/
Games
/
go-fishing.swf
/
scripts
/
frame_359
/
DoAction.as
Wrap
Text File
|
2011-01-13
|
726b
|
40 lines
if(interval == "12")
{
if(count < "4")
{
choice_lorr = random("2") + "1";
choice_fish = random("7") + "1";
fish_name = "/" add eval("fish_temp_" add choice_fish);
if(eval("a" add choice_fish) == "0")
{
set("a" add choice_fish,"1");
tellTarget(fish_name)
{
gotoAndPlay(2);
}
count += "1";
}
}
interval = "1";
}
if(eval("/:resume") == "1")
{
if(resume_time >= "4")
{
tellTarget("/power")
{
nextFrame();
}
resume_time = "1";
}
}
if("11" < time_temp)
{
time_temp = "1";
set("/:time",eval("/:time") - "1");
}
else
{
time_temp += "1";
}